package com.zz.rabbitmq.constant;

public class Constants {
    // 主机 IP
    public static final String IP = "8.140.201.46";
    // 端口号
    public static final int PORT = 5672;
    // 虚拟主机名称
    public static final String VIRTUAL_HOST = "zz";
    // 用户名和密码
    public static final String USERNAME = "admin";
    public static final String PASSWORD = "admin";
    // 工作队列模式-队列
    public static final String WORK_QUEUE = "work_queue";
    // 发布订阅模式
    public static final String FANOUT_EXCHANGE = "fanout_exchange";
    public static final String FANOUT_QUEUE1 = "fanout_queue1";
    public static final String FANOUT_QUEUE2 = "fanout_queue2";
    // 路由模式-交换机
    public static final String DIRECT_EXCHANGE = "direct_exchange";
    public static final String DIRECT_QUEUE1 = "direct_queue1";
    public static final String DIRECT_QUEUE2 = "direct_queue2";
    // 通配符模式-交换机
    public static final String TOPIC_EXCHANGE = "topic_exchange";
    public static final String TOPIC_QUEUE1 = "topic_queue1";
    public static final String TOPIC_QUEUE2 = "topic_queue2";

}
